#include <iostream>

using namespace std;

class Integer {
    int x;

   public:
    Integer(int x = 0) : x(x) {
        cout << "constructing Int " << x << endl;
    }
    Integer& operator=(const Integer& other) {
        if (this != &other) {
            cout << "operator= invoked" << endl;
            x = other.x;
        }
        return *this;
    }
};
int main() {
    Integer a = 1, b;
    b = 1;
    return 0;
}